package com.nuoniu.sibanyun.entity.erp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 会计科目类型
 * </p>
 *
 * @author baiqiang
 * @since 2020-09-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("fab_accounting_type")
@ApiModel(value="ErpAccountingType对象", description="会计科目类型")
public class ErpAccountingType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编码")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "试算平衡显示序号 ")
    @TableField("num")
    private Integer num;

    @ApiModelProperty(value = "该科目类别下科目的编码首数字")
    @TableField("first_number")
    private Integer firstNumber;

    @ApiModelProperty(value = "行业性质id ")
    @TableField("industry_type_code")
    private String industryTypeCode;

    @ApiModelProperty(value = "是否参与试算平衡 ")
    @TableField("trial_balance")
    private Integer trialBalance;

    @ApiModelProperty(value = "试算平衡方向 ")
    @TableField("trial_balance_direction")
    private Integer trialBalanceDirection;

    @ApiModelProperty(value = "损益类科目类别分类 ")
    @TableField("account_class")
    private Integer accountClass;

    @ApiModelProperty(value = "分组号 ")
    @TableField("class_code")
    private String classCode;

    @ApiModelProperty(value = "默认余额方向 ")
    @TableField("default_dc_direction")
    private Integer defaultDcDirection;


}
